﻿Public Class FormUtil
    Public Shared Sub LoadPanelForm(ByVal panel As Panel, ByVal form As Form)
        form.TopLevel = False
        panel.Controls.Clear()
        panel.Contains(form)
        form.TopLevel = False
        form.TopMost = False
        form.ControlBox = False
        form.StartPosition = System.Windows.Forms.FormStartPosition.Manual
        form.Size = panel.ClientSize
        form.Parent = panel
        form.Dock = DockStyle.Fill
        form.FormBorderStyle = Windows.Forms.FormBorderStyle.None
        form.Show()
    End Sub

    Public Shared Sub LocationFrm(ByVal form As Form)
        form.Top = 188
        form.Left = 31

    End Sub


End Class
